package com.alexgaoyh.MutiModule.Dubbo.RWSeperate.provider.read.sysman.sysmanRole;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.api.sysman.sysmanRole.read.ISysmanRoleReadService;
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.sysman.sysmanRole.SysmanRole;
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.sysman.sysmanRole.SysmanRoleExample;
import com.alexgaoyh.MutiModule.Dubbo.RWSeperate.persist.sysman.sysmanRole.SysmanRoleMapper;

@Service(value = "sysmanRoleService")
public class SysmanRoleServiceImpl implements ISysmanRoleReadService{
	
	@Resource(name = "sysmanRoleMapper")
	private SysmanRoleMapper mapper;

	@Override
	public int countByExample(SysmanRoleExample example) {
		return mapper.countByExample(example);
	}

	@Override
	public int deleteByExample(SysmanRoleExample example) {
		return mapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(Long id) {
		return mapper.deleteByPrimaryKey(id);
	}

	@Override
	public List<SysmanRole> selectByExample(SysmanRoleExample example) {
		return mapper.selectByExample(example);
	}

	@Override
	public SysmanRole selectByPrimaryKey(Long id) {
		return mapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(SysmanRole record,
			SysmanRoleExample example) {
		return mapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(SysmanRole record, SysmanRoleExample example) {
		return mapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(SysmanRole record) {
		return mapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(SysmanRole record) {
		return mapper.updateByPrimaryKeySelective(record);
	}

}
